/*  1:   */ package com.rinsi.app.jczl.kjxx.kzxx;
/*  2:   */ 
/*  3:   */ import com.rinsi.core.service.CoreSimpleService;
/*  4:   */ import java.util.HashMap;
/*  5:   */ import java.util.Map;
/*  6:   */ import org.mybatis.spring.SqlSessionTemplate;
/*  7:   */ import org.springframework.stereotype.Service;
/*  8:   */ 
/*  9:   */ @Service
/* 10:   */ public class KzxxService
/* 11:   */   extends CoreSimpleService
/* 12:   */ {
/* 13:   */   public void afterIndex(Map<String, Object> model, Map<String, Object> rMap)
/* 14:   */   {
/* 15:16 */     rMap.put("zgzs", getSqlSessionTemplate().selectList("Core.getCodeList", Integer.valueOf(210002)));
/* 16:   */   }
/* 17:   */   
/* 18:   */   public void uploadImage(String id, byte[] image)
/* 19:   */   {
/* 20:23 */     Map<String, Object> params = new HashMap();
/* 21:   */     
/* 22:25 */     params.put("RYXX_ID", id);
/* 23:   */     
/* 24:27 */     params.put("RYXX_ZP", image);
/* 25:   */     
/* 26:29 */     getSqlSessionTemplate().update("jczl/kjxx/kzxx.update", params);
/* 27:   */   }
/* 28:   */ }


/* Location:           D:\Users\Desktop\shanxi\项目\sxazmis\WEB-INF\classes\
 * Qualified Name:     com.rinsi.app.jczl.kjxx.kzxx.KzxxService
 * JD-Core Version:    0.7.0.1
 */